package com.example.jedis.client.exception;

/**
 * -MOVED 9458 172.17.5.114:6379\r\n
 */
public class RedisProtocolMovedException extends RedisProtocolException{

    String redisIp;
    String port;

    public String getRedisIp() {
        return redisIp;
    }

    public void setRedisIp(String redisIp) {
        this.redisIp = redisIp;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public RedisProtocolMovedException(String message){
        super(message);
        parse(message);

    }
    public void parse(String message){

    }
}
